updating oE now
now
include std/datetime.e -- (default namespace is datetime) public function now()
creates a new datetime value initialized with the current date and time.
Returns:
A sequence, more precisely a datetime corresponding to the current moment in time.
Example 1:
include std/datetime.e datetime dt = now() -- dt is the current date and time ? dt -- display it
Result:
{2019,9,7,17,20,2}
See Also:
Not Categorized, Please Help
|